package com.niit.service;

import java.util.List;

import com.niit.bean.Admin;

public interface AdminService extends CommonService<Admin> {
	/**
	 * 判断用户名是否已存在
	 */
	boolean usernameExist(String username);
	/**
	 * 判断用户登录是否成功
	 */
	boolean login(Admin admin);
	
	List<Admin> findAll();
}
